package com.onlineMIS.ORM.entity.headQ.report;


public class HeadQDealingsReportVO implements Comparable<HeadQDealingsReportVO>{
	
	//客户id
	private int clientId;
	//客户姓名 
	private String clientName;
	//上期欠款
	private double ctpDebt;
	//上期预存金
	private double ctpPrestore;
	//期中回款
	private double midtermPayment;
	//期中预存金消费
	private double midtermConsumption;
	//期中预存金充值
	private double midtermRecharge;
	//期中销售金额
	private double midtermSale;
	//期中退货金额
	private double midtermReturn;
	//期末欠款
	private double endDebt;
	//期末预存金
	private double endPrestore;
	//当前欠款
	private double nowDebt;
	//当前预存金
	private double nowPrestore;
	//单据详情
	private String orderIds;
		

	public HeadQDealingsReportVO(int clientId, String clientName, double ctpDebt, double ctpPrestore,
			double midtermPayment, double midtermConsumption, double midtermRecharge, double endDebt,
			double endPrestore, double nowDebt, double nowPrestore, String orderIds) {
		super();
		this.clientId = clientId;
		this.clientName = clientName;
		this.ctpDebt = ctpDebt;
		this.ctpPrestore = ctpPrestore;
		this.midtermPayment = midtermPayment;
		this.midtermConsumption = midtermConsumption;
		this.midtermRecharge = midtermRecharge;
		this.endDebt = endDebt;
		this.endPrestore = endPrestore;
		this.nowDebt = nowDebt;
		this.nowPrestore = nowPrestore;
		this.orderIds = orderIds;
	}

	public HeadQDealingsReportVO() {
		super();
	}

	public int getClientId() {
		return clientId;
	}
	public void setClientId(int clientId) {
		this.clientId = clientId;
	}
	public String getClientName() {
		return clientName;
	}
	public void setClientName(String clientName) {
		this.clientName = clientName;
	}	

	public double getCtpDebt() {
		return ctpDebt;
	}

	public void setCtpDebt(double ctpDebt) {
		this.ctpDebt = ctpDebt;
	}

	public double getCtpPrestore() {
		return ctpPrestore;
	}

	public void setCtpPrestore(double ctpPrestore) {
		this.ctpPrestore = ctpPrestore;
	}

	public double getMidtermPayment() {
		return midtermPayment;
	}

	public void setMidtermPayment(double midtermPayment) {
		this.midtermPayment = midtermPayment;
	}

	public double getMidtermConsumption() {
		return midtermConsumption;
	}

	public void setMidtermConsumption(double midtermConsumption) {
		this.midtermConsumption = midtermConsumption;
	}

	public double getMidtermRecharge() {
		return midtermRecharge;
	}

	public void setMidtermRecharge(double midtermRecharge) {
		this.midtermRecharge = midtermRecharge;
	}

	public double getEndDebt() {
		return endDebt;
	}

	public void setEndDebt(double endDebt) {
		this.endDebt = endDebt;
	}

	public double getEndPrestore() {
		return endPrestore;
	}

	public void setEndPrestore(double endPrestore) {
		this.endPrestore = endPrestore;
	}
	

	public double getNowDebt() {
		return nowDebt;
	}

	public void setNowDebt(double nowDebt) {
		this.nowDebt = nowDebt;
	}

	public double getNowPrestore() {
		return nowPrestore;
	}

	public void setNowPrestore(double nowPrestore) {
		this.nowPrestore = nowPrestore;
	}

	public String getOrderIds() {
		return orderIds;
	}

	public void setOrderIds(String orderIds) {
		this.orderIds = orderIds;
	}
	
	

	public double getMidtermSale() {
		return midtermSale;
	}

	public void setMidtermSale(double midtermSale) {
		this.midtermSale = midtermSale;
	}

	public double getMidtermReturn() {
		return midtermReturn;
	}

	public void setMidtermReturn(double midtermReturn) {
		this.midtermReturn = midtermReturn;
	}

	@Override
	public int compareTo(HeadQDealingsReportVO o) {
		return this.getClientName().compareTo(o.getClientName());
	}
	
	
}
